package com.zjy.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Zhengjz
 * @version 1.0
 * @className UserMapper
 * @date 2021/1/10 14:11
 */
public class User implements Serializable {

    private Integer id;
    private String userName;
    private String userPassword;
    private String authority;
    private String status;
    private Date createTime;
    private String member;
    private String sex;
    private String phone;
    private String address;

    public User(Integer id, String userName, String userPassword, String authority, String status, Date createTime, String member, String sex, String phone, String address) {
        this.id = id;
        this.userName = userName;
        this.userPassword = userPassword;
        this.authority = authority;
        this.status = status;
        this.createTime = createTime;
        this.member = member;
        this.sex = sex;
        this.phone = phone;
        this.address = address;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getAuthority() {
        return authority;
    }

    public void setAuthority(String authority) {
        this.authority = authority;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getMember() {
        return member;
    }

    public void setMember(String member) {
        this.member = member;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public User() {
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", authority='" + authority + '\'' +
                ", status='" + status + '\'' +
                ", createTime=" + createTime +
                ", member='" + member + '\'' +
                ", sex='" + sex + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
